//package com.cql.controller;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.http.MediaType;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//
//import java.util.Map;
//
//public class FileAndFormController {
//    @Autowired
//    private FileAndFormClient fileAndFormClient;
//
//    @RequestMapping(value = "/cql/upload", method = RequestMethod.POST, produces = {MediaType.APPLICATION_JSON_UTF8_VALUE}, consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
//    String upload(Map<String, Object> map){
//        System.out.println(map.get("name"));
//        return fileAndFormClient.upload(map);
//    };
//}
